import Vue from 'vue'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
// import App from './App.vue'
import Test from './components/index.vue'
import router from './router/index'
import ECharts from 'vue-echarts'
import 'echarts/lib/chart/line'
// 引入柱状图
import  'echarts/lib/chart/bar';
// 引入提示框和标题组件
import 'echarts/lib/component/tooltip';
import 'echarts/lib/component/title';
import "echarts/lib/component/legend";
import iView from 'iview';
import 'iview/dist/styles/iview.css';

Vue.component('v-chart', ECharts);
Vue.use(iView);
Vue.use(ElementUI);

import './mockjs'

Vue.config.productionTip = false

new Vue({
  el: '#app',
  router,
  render: h => h(Test)
});
